<template>
	<view class="c1">
		<view class="b1">{{theTheme}}</view>
		<view class="b2">{{theAuthor}} {{createTime}}</view>
		<view class="b3">
			<image class="pic" src="../../../static/OIP-C.jpg" mode=""></image>
		</view>
		<view class="b2">
			<text>{{content}}</text>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				item: {},
				theTheme: '',
				content: '',
				createTime: '',
				theAuthor: ''
			}
		},
		onLoad(val) {
			// 判断不为空
			if (val.item) {
				this.item = JSON.parse(decodeURIComponent(val.item));
				this.theTheme = this.item.theTheme
				this.content = this.item.content
				this.createTime = this.item.createTime
				this.theAuthor = this.item.theAuthor
			}
		},
		methods: {

		}
	}
</script>

<style lang="scss">
	image {
		width: 690rpx;
		height: 350rpx;
	}

	.c1 {
		margin-left: 10rpx;
		width: 730rpx;
		background: #efefef;
		height: 1200rpx;
	}

	.b1 {
		font-size: 35rpx;
		font-weight: bold;
		margin-left: 20rpx;
	}

	.b2 {
		margin-left: 20rpx;
	}

	.b3 {
		margin-left: 20rpx;
	}
</style>
